<?php
include 'connectdb.php';
include 'base.php';
include 'requireLogin.php';
$stSQL="select code from seller ";
$resultsub=mysql_query($stSQL);
?>
<form action="filter_base_seller.php" method="post">
<div class="form_settings">
<p><span>
<select name="formCode" >
<option value=""selected>..Chọn mã..</option>
<?php
if(mysql_num_rows($resultsub)> 0)
{  
     while($row = mysql_fetch_array($resultsub))
    {
?>          
    <option value="<?php echo"".$row['code']."";?>"><?php echo"".$row['code']."";?></option>
                
<?php
    }
}
?>
        </select>
    </span> <input class="submit" type="submit" name="filter_bill" value="Lọc hóa đơn" /></p>
    </div>
</form>
 <?php include 'footer.php';?>
